package com.xagcdx.group1.dao;

import com.xagcdx.group1.bean.Job;
import com.xagcdx.group1.bean.Staff;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author grou1
 * @since 2020-06-13
 */
@Repository
@Mapper
public interface StaffMapper extends BaseMapper<Staff> {
	Integer counts(@Param("scode")String scode,@Param("staffstatu")String staffstatu,@Param("summitstatu")String summitstatu,@Param("edittime")String edittime);

	List<Staff> staffListPage(@Param("page") Integer page,@Param("size") Integer size,@Param("scode")String scode,@Param("staffstatu")String staffstatu,@Param("summitstatu")String summitstatu,@Param("edittime")String edittime);
	
	Integer maxJobCount(@Param("ddesc")String ddesc);
}
